<template>
    <div id="containner">
        <fieldset>
            <legend>container组件</legend>
            <modal :visible="visible" @on-cancel="cancel"
            @on-confirm="confirm"></modal>

            <button @click="showModal">点击显示模态框</button>
        </fieldset>

    </div>
</template>
<script>
import modalMix from "../mixins/modal"
export default{
    mixins:[modalMix],
}
</script>